package com.example.libpro.MyActivity;

import android.database.sqlite.SQLiteDatabase;
import android.os.Bundle;

import androidx.appcompat.app.AppCompatActivity;

import com.example.libpro.DBEntity.DBHelper;
import com.example.libpro.DBEntity.DataBaseContext;
import com.example.libpro.R;

public class seeDBActivity extends AppCompatActivity {
    private DBHelper dbHelper;

    public seeDBActivity() {
        this.dbHelper = new DBHelper(this);
    }
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        DataBaseContext dbContext = new DataBaseContext(this);
        setContentView(R.layout.activity_login);
        this.dbHelper = new DBHelper(dbContext);
        SQLiteDatabase db = null;
        db = dbHelper.getWritableDB();
    }
}